#define DESCTYPE_SKILL_DESC 6
#define CONN_CHATFAVORITE_DESC   75
#define CONN_REQUEST_TASK_DESC   88
#define CONN_GET_DESC   101
#define CONN_DESC   102
#define CONN_AUCTION_REQUEST_ITEM_DESC   119		CONN_REQUEST_AUCTION_DESC
#define CONN_AUCTION_ITEM_DESC   119


    static TCHAR szDir[] = TEXT("?:");
    DWORD dwDriveMask = GetLogicalDrives();
    for (int i = 0; i < MAX_DRIVES; dwDriveMask >>= 1, i++)
    {
        if (dwDriveMask & 0x01)
        {
            szDir[0] = TEXT('A') + i;
            switch (GetDriveType(szDir))
            {
                case DRIVE_FIXED:
                    break;
                default:
                    break;
            }
        }
    }


    __try {
        if (!pPagefileInfo) {
            // Allows for immediate termination of the __try block 
            // without causing abnormal termination and its performance penalty.
            __leave;
        } // if
    } // __try
    __finally {
        //
    } // __finally


#define IsPathSep(ch)       ((ch) == TEXT('\\') || (ch) == TEXT('/'))
#define IsWhiteSpace(ch)    ((ch) == TEXT(' ') || (ch) == TEXT('\t') || (ch) == TEXT('\n') || (ch) == TEXT('\r'))
#define IsDigit(ch)         ((ch) >= TEXT('0') && (ch) <= TEXT('9'))

#define DigitVal(ch)        ((ch) - TEXT('0'))



typedef char *va_list;
#define _INTSIZEOF(n)    ( (sizeof(n) + sizeof(int) - 1) & ~(sizeof(int) - 1) )
#define va_start(ap,v) ap = (va_list)&v + _INTSIZEOF(v)
#define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) )
#define va_end(ap) ap = (va_list)0









